package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbNewsDetails;
import com.quanyan.user.model.db.TbNewsDetailsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewsDetailsMapper {
    int countByExample(TbNewsDetailsExample example);

    int deleteByExample(TbNewsDetailsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbNewsDetails record);

    int insertSelective(TbNewsDetails record);

    List<TbNewsDetails> selectByExample(TbNewsDetailsExample example);

    TbNewsDetails selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbNewsDetails record, @Param("example") TbNewsDetailsExample example);

    int updateByExample(@Param("record") TbNewsDetails record, @Param("example") TbNewsDetailsExample example);

    int updateByPrimaryKeySelective(TbNewsDetails record);

    int updateByPrimaryKey(TbNewsDetails record);
}